Optimal. Leaf size=124 \[ -\frac {x \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )}{2 c^2 d}+\frac {\sqrt {1-c^2 x^2} \left (a+b \sin ^{-1}(c x)\right )^2}{4 b c^3 \sqrt {d-c^2 d x^2}}+\frac {b x^2 \sqrt {1-c^2 x^2}}{4 c \sqrt {d-c^2 d x^2}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.15, antiderivative size = 124, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 4, integrand size = 27, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.148, Rules used = {4707, 4643, 4641, 30} \[ -\frac {x \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )}{2 c^2 d}+\frac {\sqrt {1-c^2 x^2} \left (a+b \sin ^{-1}(c x)\right )^2}{4 b c^3 \sqrt {d-c^2 d x^2}}+\frac {b x^2 \sqrt {1-c^2 x^2}}{4 c \sqrt {d-c^2 d x^2}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 30
Rule 4641
Rule 4643
Rule 4707
Rubi steps
\begin {align*} \int \frac {x^2 \left (a+b \sin ^{-1}(c x)\right )}{\sqrt {d-c^2 d x^2}} \, dx &=-\frac {x \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )}{2 c^2 d}+\frac {\int \frac {a+b \sin ^{-1}(c x)}{\sqrt {d-c^2 d x^2}} \, dx}{2 c^2}+\frac {\left (b \sqrt {1-c^2 x^2}\right ) \int x \, dx}{2 c \sqrt {d-c^2 d x^2}}\\ &=\frac {b x^2 \sqrt {1-c^2 x^2}}{4 c \sqrt {d-c^2 d x^2}}-\frac {x \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )}{2 c^2 d}+\frac {\sqrt {1-c^2 x^2} \int \frac {a+b \sin ^{-1}(c x)}{\sqrt {1-c^2 x^2}} \, dx}{2 c^2 \sqrt {d-c^2 d x^2}}\\ &=\frac {b x^2 \sqrt {1-c^2 x^2}}{4 c \sqrt {d-c^2 d x^2}}-\frac {x \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )}{2 c^2 d}+\frac {\sqrt {1-c^2 x^2} \left (a+b \sin ^{-1}(c x)\right )^2}{4 b c^3 \sqrt {d-c^2 d x^2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 1.41, size = 134, normalized size = 1.08 \[ -\frac {\frac {4 a c x \sqrt {d-c^2 d x^2}}{d}+\frac {4 a \tan ^{-1}\left (\frac {c x \sqrt {d-c^2 d x^2}}{\sqrt {d} \left (c^2 x^2-1\right )}\right )}{\sqrt {d}}+\frac {b \sqrt {1-c^2 x^2} \left (-2 \sin ^{-1}(c x)^2+2 \sin \left (2 \sin ^{-1}(c x)\right ) \sin ^{-1}(c x)+\cos \left (2 \sin ^{-1}(c x)\right )\right )}{\sqrt {d-c^2 d x^2}}}{8 c^3} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [F] time = 1.04, size = 0, normalized size = 0.00 \[ {\rm integral}\left (-\frac {\sqrt {-c^{2} d x^{2} + d} {\left (b x^{2} \arcsin \left (c x\right ) + a x^{2}\right )}}{c^{2} d x^{2} - d}, x\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {{\left (b \arcsin \left (c x\right ) + a\right )} x^{2}}{\sqrt {-c^{2} d x^{2} + d}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [B] time = 0.28, size = 270, normalized size = 2.18 \[ -\frac {a x \sqrt {-c^{2} d \,x^{2}+d}}{2 c^{2} d}+\frac {a \arctan \left (\frac {\sqrt {c^{2} d}\, x}{\sqrt {-c^{2} d \,x^{2}+d}}\right )}{2 c^{2} \sqrt {c^{2} d}}-\frac {b \sqrt {-d \left (c^{2} x^{2}-1\right )}\, \sqrt {-c^{2} x^{2}+1}\, \arcsin \left (c x \right )^{2}}{4 c^{3} d \left (c^{2} x^{2}-1\right )}-\frac {b \sqrt {-c^{2} x^{2}+1}}{16 c^{3} \sqrt {-d \left (c^{2} x^{2}-1\right )}}+\frac {b \sqrt {-d \left (c^{2} x^{2}-1\right )}\, \arcsin \left (c x \right ) x}{8 c^{2} d \left (c^{2} x^{2}-1\right )}+\frac {b \sqrt {-d \left (c^{2} x^{2}-1\right )}\, \cos \left (3 \arcsin \left (c x \right )\right )}{16 c^{3} d \left (c^{2} x^{2}-1\right )}+\frac {b \sqrt {-d \left (c^{2} x^{2}-1\right )}\, \arcsin \left (c x \right ) \sin \left (3 \arcsin \left (c x \right )\right )}{8 c^{3} d \left (c^{2} x^{2}-1\right )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F] time = 0.00, size = 0, normalized size = 0.00 \[ -\frac {1}{2} \, a {\left (\frac {\sqrt {-c^{2} d x^{2} + d} x}{c^{2} d} - \frac {\arcsin \left (c x\right )}{c^{3} \sqrt {d}}\right )} + \frac {b \int \frac {x^{2} \arctan \left (c x, \sqrt {c x + 1} \sqrt {-c x + 1}\right )}{\sqrt {c x + 1} \sqrt {-c x + 1}}\,{d x}}{\sqrt {d}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.01 \[ \int \frac {x^2\,\left (a+b\,\mathrm {asin}\left (c\,x\right )\right )}{\sqrt {d-c^2\,d\,x^2}} \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {x^{2} \left (a + b \operatorname {asin}{\left (c x \right )}\right )}{\sqrt {- d \left (c x - 1\right ) \left (c x + 1\right )}}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________